<%-- 
    Document   : ListArticle
    Created on : May 21, 2013, 9:34:34 AM
    Author     : aptech
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>TitleHere</title>
    </head>
    <body>
        <%--<c:if test="${listA} eq null">--%>
        <jsp:forward page="${request.getContextPath()}/ListArticleAction"></jsp:forward>
        <%--</c:if>--%>
        <c:if test="${listA} != null">
            <c:forEach items="${listA}" var="a">
                <h2>is: ${a.artid} </h2>
                Content: <p>${p.content}</p>
            </c:forEach>
        </c:if>
    </body>
</html>
